﻿using Sustainalytics.SecurityListsSync;
using Sustainalytics.Synchronization.Interface;
using Xunit;
using Xunit.Abstractions;

namespace Sustainalytics.ClientDW.Synchronization.Tests.IntegrationTests
{
    public class SecuritiesListSyncTests
    {
        private readonly ITestOutputHelper _output;

        public SecuritiesListSyncTests(ITestOutputHelper output)
        {
            _output = output;
        }

        [Fact]
        public void SecuritiesListInsertTest()
        {
            var context = TestSyncContextFactoy.Create(_output.WriteLine);
            ISyncStep securitiesSyncStep = new SyncHBaseSecurityLists();
            var result = securitiesSyncStep.Start(context);
            Assert.NotNull(result);
        }
    }
}
